package com.zyf.chapter02.behavior.observer.p2p.refactor;

import com.zyf.chapter02.behavior.observer.p2p.PromotionService;

/**
 * @author yifeng
 */
public class RegPromotionObserver implements RegObserver {
    private PromotionService promotionService;
    @Override
    public void handleRegSuccess(long userId) {
        promotionService.issueNewUserExperienceCash(userId);
    }
}
